package com.nuoniu.sibanyun.mapper.erp;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuoniu.sibanyun.entity.erp.ErpCustomer;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 白强
 * @since 2021-01-23
 */
public interface ErpCustomerMapper extends BaseMapper<ErpCustomer> {


    /**
     *
     * @param companyId
     * @param accountId
     * @param name
     * @param oldId 当前需要修改的记录的ID
     * @return
     */
    boolean isRepeat(Integer companyId,Integer accountId,String name,Long oldId);

}
